package cn.edu.dgut.css.lemon.springbootautoconfigexp02;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.env.Environment;

/**
 * @author Lemon
 * @data 2020-10-24 21:10
 */

@SpringBootApplication
class CustomCommandLineRunner implements CommandLineRunner {
    Environment environment;

    public CustomCommandLineRunner(Environment environment) {
        this.environment = environment;
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println("Spring Boot Auto Config...");
        System.out.println(">>>>CommandLinRunner<<<<");
    }
}
